#
# Copyright 2010 Steve Leach
# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
#

import logging

from google.appengine.ext import db

from handlers import BaseHandler

def add_closing_mappings(mappings):
	mappings.append(('/closing', ClosingHandler))

class ClosingCalc(db.Model):
	timestamp = db.DateTimeProperty(required=True, auto_now=True)
	wh_mass = db.IntegerProperty(default=0)

class ClosingHandler(BaseHandler):

	def do_get(self):
		self.pagevalues['rawmass'] = '3,000,000'
	  	self.show_page('closing.html')
